package com.ys.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ys.modules.system.entity.Menu;
import com.ys.modules.system.mapper.MenuMapper;
import com.ys.modules.system.service.MenuService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {
    @Override
    public List<Menu> listByUserId(Long userId) {
        // 示例：实际应根据用户角色关联查询菜单
        return list();
    }
} 